x86: don't maintain compat M2P when !PV32
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Aug 2020 15:46:27 +0000 (17:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Aug 2020 15:46:27 +0000 (17:46 +0200)
commit13795767298d5fffcb636069877785c8e344ac07
tree4900b32774261f3e5ec57a8ebb47fa6cf11180e3
parentde94e8b4f996517182f627300a0f8a709472c635
x86: don't maintain compat M2P when !PV32

It's effectively unused in this case (as well as when "pv=no-32").

While touching their definitions anyway, also adjust section placement
of m2p_compat_vstart and compat_idle_pg_table_l2. Similarly, while
putting init_xen_pae_l2_slots() inside #ifdef, also move it to a PV-only
source file.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/arch/x86/pv/mm.c
xen/arch/x86/x86_64/compat/mm.c
xen/arch/x86/x86_64/mm.c
xen/include/asm-x86/config.h
xen/include/asm-x86/domain.h
xen/include/asm-x86/mm.h